package com.ruoyi.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

@Mapper
public interface TanpuhuiUtilsMapper {
    boolean isHaveCo2Reduce(@Param("userId") Long userId, @Param("date") LocalDate date);

    void updateUserReductionTime(@Param("userId") Long userId, @Param("co2ReduceTime") int co2ReduceTime);
}
